package com.qijian.maindata.domain.query;

import com.baomidou.mybatisplus.annotation.TableName;
import com.qijian.common.utils.mybatis.WhereType;
import com.qijian.common.utils.mybatis.WhereTypeEnum;
import lombok.Data;
import lombok.ToString;

import java.util.Date;
import java.util.Set;


/**
 * 量具台账对象 查询条件类
 *
 * @author qijian
 * @date 2024-01-22
 */

@Data
@ToString
@TableName("main_instrument_ledger")
public class InstrumentLedgerQuery {

    @WhereType(filed = "id")
    private Long id;
    @WhereType(filed = "id", type = WhereTypeEnum.IN)
    private Set<Long> ids;
    @WhereType(filed = "name", type = WhereTypeEnum.LIKE)
    private String name;
    @WhereType(filed = "type")
    private String type;
    @WhereType(filed = "number", type = WhereTypeEnum.LIKE)
    private String number;
    @WhereType(filed = "check_date", type = WhereTypeEnum.BETWEEN)
    private Date[] checkDate;
    @WhereType(filed = "manager", type = WhereTypeEnum.LIKE)
    private String manager;
    @WhereType(filed = "manager_id")
    private Long managerId;
    @WhereType(filed = "next_check_date", type = WhereTypeEnum.BETWEEN)
    private Date[] nextCheckDate;
    @WhereType(filed = "verify_method", type = WhereTypeEnum.LIKE)
    private String verifyMethod;
    @WhereType(filed = "remark", type = WhereTypeEnum.LIKE)
    private String remark;
    @WhereType(filed = "stockman", type = WhereTypeEnum.LIKE)
    private String stockman;


}
